package com.arcsoft.commonbase.constant

import android.Manifest

/**
 *常量配置
 */
object Constants {

    //-------------- sp  --------------------------------
    const val SP_ADMIN_LOGIN_BEAN = "sp_admin_login_bean"//管理员登录实体类
    const val SP_ACCOUNT = "sp_account"//登录账号
    const val SP_PWD = "sp_pwd"//登陆密码
    const val SP_CLIENT_CODE = "sp_client_code"//登陆客户编码


    const val SP_DRIVER_LOGIN_BEAN = "sp_driver_login_bean"//司机登录实体类
    const val SP_DRIVER_PROJECT_INFO_BEAN = "sp_driver_project_info_bean"//司机切换组织实体类
    const val SP_DRIVER_SWITCH_PK_BEAN = "sp_driver_switch_pk_bean"//司机切换pk后的实体类
    const val SP_DRIVER_SWITCH_PLATELICENSE_BEAN = "sp_driver_switch_platelicense_bean"//司机切换车牌后的实体类
    const val SP_DRIVER_PHONE = "sp_driver_phone"//司机手机号

    const val SP_HISTORY_CAR_LIST = "sp_history_car_list" //车辆历史记录

    const val SP_ENVIRONMENT = "sp_environment" // 当前环境stg, pro

    const val SP_DOUBLE_CLICK_FIRST_TIP = "sp_double_click_first_tip"

    const val SP_IS_AGREE_PRIVACY = "sp_is_agree_privacy"//是否同意隐私协议


    //-------------- permissions  --------------------------------
    var permissions = arrayOf(
        Manifest.permission.READ_EXTERNAL_STORAGE,
        Manifest.permission.WRITE_EXTERNAL_STORAGE,
        Manifest.permission.ACCESS_FINE_LOCATION,
        Manifest.permission.CAMERA,
    )
    val packageNames = arrayOf(
        "com.tencent.map", "com.autonavi.minimap", "com.baidu.BaiduMap"
    )
}